package net.easyjava.third.rongcloud.rong.constants;

import java.util.Arrays;
import java.util.List;

/**
 * Created by wxnacy on 16/1/7.
 */
public class RongCloudConstants {
    public static final int CODE_SUCCESS = 200;


    public static final String OBJECT_NAME_TXT = "RC:TxtMsg";
    public static final String OBJECT_NAME_IMG = "RC:ImgMsg";
    public static final String OBJECT_NAME_LOCATION = "RC:LBSMsg";
    public static final String OBJECT_NAME_VC = "RC:VcMsg";

    public static final String CHANNEL_TYPE_PERSON = "PERSON";
    public static final String CHANNEL_TYPE_CHATROOM = "TEMPGROUP";


    public enum PushType{
        IOS(Arrays.asList("ios")),ANDROID(Arrays.asList("android")),ALL(Arrays.asList("ios","android"))
        ;

        private List<String> types;
        PushType(List<String> types) {
            this.types = types;
        }

        public List<String> getList(){
            return this.types;
        }
    }


}
